Return to doc.sitecore.com

  Web.config Changes in Sitecore CMS 6.2.0 rev. 091012 Compared to Sitecore CMS 6.1.0 rev.090821

This update requires you to make changes to the following files:

  1. /Web.config
  2. /App_Config/Commands.config
  3. /App_Config/FieldTypes.config

The clean config files for Sitecore CMS 6.2.0 rev.091012 can be downloaded using the following links:

  1. Sitecore CMS 6.2.0 rev. 091012 Web.config file 
  2. Sitecore CMS 6.2.0 rev. 091012 Commands.config file
  3. Sitecore CMS 6.2.0 rev. 091012 FieldTypes.config file

Below is the list of changes made to the config files of Sitecore CMS 6.2.0 rev. 091012 as compared to the config files of Sitecore CMS 6.1.0 rev.090821.

Web.config

  1. Added to section <pipelines><publishItem ...> between the PerformAction and RemoveUnknownChildren processors:
        <processor type="Sitecore.Publishing.Pipelines.PublishItem.AddItemReferences, Sitecore.Kernel" />
  2. Added to section <pipelines><getContentEditorWarnings> at the last position:
        <processor type="Sitecore.Pipelines.GetContentEditorWarnings.FeedIsEmpty, Sitecore.Kernel" />
  3. Added to section <pipelines><renderField> between the GetDateFieldValue and AddBeforeAndAfterValues processors:
        <processor type="Sitecore.Pipelines.RenderField.GetDocxFieldValue, Sitecore.Kernel" />
  4. Added to section <pipelines>:
        <getSyndicationWarnings>
            <processor type="Sitecore.Pipelines.GetSyndicationWarnings.IsReadOnly, Sitecore.Kernel" />
            <processor type="Sitecore.Pipelines.GetSyndicationWarnings.IsLocked, Sitecore.Kernel" />
            <processor type="Sitecore.Pipelines.GetSyndicationWarnings.CantWrite, Sitecore.Kernel" />
        </getSyndicationWarnings>
        <word.parseDocx>
            <processor type="Sitecore.Pipelines.ParseDocx.ConvertToXHtml, Sitecore.Kernel" />
            <processor type="Sitecore.Pipelines.ParseDocx.ExtractEmbeddedImages, Sitecore.Kernel" />
            <processor type="Sitecore.Pipelines.ParseDocx.FixImageLinks, Sitecore.Kernel" />
            <processor type="Sitecore.Pipelines.ParseDocx.FixStyles, Sitecore.Kernel" />
            <processor type="Sitecore.Pipelines.ParseDocx.FixLinks, Sitecore.Kernel" />
            <processor type="Sitecore.Pipelines.ParseDocx.RemoveJavascript, Sitecore.Kernel" />
            <processor type="Sitecore.Pipelines.ParseDocx.SetFieldValue, Sitecore.Kernel" />
        </word.parseDocx>
        <word.renderHtml>
            <processor type="Sitecore.Pipelines.RenderDocx.GetHtmlFromField, Sitecore.Kernel" />
            <processor type="Sitecore.Pipelines.RenderDocx.ExpandLinks, Sitecore.Kernel" />
        </word.renderHtml>
  5. Added to section <customHandlers> at the last position:
        <handler trigger="~/feed/" handler="sitecore_feed.ashx" />
  6. Added to section <indexes><index ...><fields hint="raw:AddField"> at the last position:
        <type storage="unstored" stripTags="true">word document</type>
  7. Added to section <sitecore …> after the <authentication ...> section:
        <httpAuthentication defaultProvider="Digest">
            <providers>
                <clear />
                <add name="Basic" type="Sitecore.Security.Authentication.BasicHttpAuthenticationProvider, Sitecore.Kernel">
                    <Realm>sitecore</Realm>
                </add>
                <add name="Digest" type="Sitecore.Security.Authentication.DigestHttpAuthenticationProvider, Sitecore.Kernel">
                    <Realm>sitecore</Realm>
                </add>
            </providers>
        </httpAuthentication>
  8. Added to section <processors><uiDeleteItems> at the last position:
        <processor mode="on" type="Sitecore.Shell.Framework.Pipelines.DeleteItems,Sitecore.Kernel" method="PostAction" />
  9. Added to section <xslControls>:
        <control mode="on" tag="sc:wordstyle" type="Sitecore.Web.UI.XslControls.WordStyle" assembly="Sitecore.Kernel" />
        <control mode="on" tag="sc:feedItem" type="Sitecore.Web.UI.XslControls.FeedItem" assembly="Sitecore.Kernel" />
    [Updated June 1, 2010]
    Note: The "sc:feedItem" should not be added. It is not used by the application, and adding it to the web.config will cause a warning message to be written to the log file when Sitecore starts. Example:
    WARN  Could not instantiate xsl control object (tag: 'sc:feedItem', assembly: 'Sitecore.Kernel', type: 'Sitecore.Web.UI.XslControls.FeedItem') 
  10. Change the value of the ItemNameValidation setting from:
        <setting name="ItemNameValidation" value="^[\w\*\$][\w\s\-\$]*$" />
    to:
        <setting name="ItemNameValidation" value="^[\w\*\$][\w\s\-\$]*(\(\d{1,}\)){0,1}$" />
  11. Change the following two lines in the <configStores> section from:
        <add name="domains" type="Sitecore.Configuration.XmlConfigStore, Sitecore.Kernel" factoryMethod="LoadFromFile" arg0="/App_Config/Security/Domains.config.xml"/>
        <add name="globalRoles" type="Sitecore.Configuration.XmlConfigStore, Sitecore.Kernel" factoryMethod="LoadFromFile" arg0="/App_Config/Security/GlobalRoles.config.xml"/>
    to:
        <add name="domains" type="Sitecore.Configuration.XmlConfigStore, Sitecore.Kernel" factoryMethod="LoadFromFile" arg0="/App_Config/Security/Domains.config" />
        <add name="globalRoles" type="Sitecore.Configuration.XmlConfigStore, Sitecore.Kernel" factoryMethod="LoadFromFile" arg0="/App_Config/Security/GlobalRoles.config" />
  12. Added to section <log4net>:
        <appender name="WebDAVLogFileAppender" type="log4net.Appender.SitecoreLogFileAppender, Sitecore.Logging">
            <file value="$(dataFolder)/logs/WebDAV.log.{date}.txt" />
            <appendToFile value="true" />
            <layout type="log4net.Layout.PatternLayout">
                <conversionPattern value="%4t %d{ABSOLUTE} %-5p %m%n" />
            </layout>
        </appender>
        <logger name="Sitecore.Diagnostics.WebDAV" additivity="false">
            <level value="INFO" />
            <appender-ref ref="WebDAVLogFileAppender" />
        </logger>
  13. Added to section <system.webServer><modules> after <remove name="ScriptModule"/>:
        <remove name="WebDAVModule" />
  14. Added to section <system.webServer><modules> at the last position:
        <add type="Sitecore.IntegratedSessionFix.Module, Sitecore.Kernel" name="Module" />
        <remove name="Session" />
        <add name="Session" type="System.Web.SessionState.SessionStateModule" preCondition="" />
  15. Added to section <system.webServer><handlers> at the last position:
        <add name="WebDAVRoot" path="*" verb="OPTIONS,PROPFIND" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" preCondition="classicMode,runtimeVersionv2.0,bitness32" />
        <add name="WebDAVRoot64" path="*" verb="OPTIONS,PROPFIND" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" preCondition="classicMode,runtimeVersionv2.0,bitness64" />
        <add verb="*" path="sitecore_webDAV.ashx" type="Sitecore.Resources.Media.WebDAVMediaRequestHandler, Sitecore.Kernel" name="Sitecore.WebDAVMediaRequestHandler" />
        <add verb="*" path="sitecore_feed.ashx" type="Sitecore.Shell.Feeds.FeedRequestHandler, Sitecore.Kernel" name="Sitecore.FeedRequestHandler" />
  16. Added to section <system.web><httpHandlers> before <remove verb="*" path="*.asmx"/>:
        <add verb="*" path="sitecore_webDAV.ashx" type="Sitecore.Resources.Media.WebDAVMediaRequestHandler, Sitecore.Kernel" />
        <add verb="*" path="sitecore_feed.ashx" type="Sitecore.Shell.Feeds.FeedRequestHandler, Sitecore.Kernel" />
  17. To make WebDAV work correctly, change the default value of the authentication mode from:
        <authentication mode="Forms">
    to:
        <authentication mode="None">
  18. The following setting is obsolete and should be deleted from section <settings> (use the Authentication.ClientPersistentLoginDuration setting instead):
        <!-- AUTHENTICATION TICKET TIMEOUT
             Specifies the number of minutes before an authentication ticket
             becomes invalid. The default is 480 minutes (8 hours).
        -->
        <setting name="Authentication.TicketTimeout" value="480" />
  19. Added to section <settings>:
        <!-- CLIENT FEEDS ITEM EXPIRATION
             Items that are older than the speficied time interval (in days) will not be included in the client feed.
             Default value: 0, expiration is disabled.
        -->
        <setting name="ClientFeeds.ItemExpiration" value="0" />
  20. Added to section <settings>:
        <!-- MAXIMUM NUMBER OF ITEMS IN FEED
             The maximum number of items to include in the client feed.
             Default value: 50
        -->
        <setting name="ClientFeeds.MaximumItemsInFeed" value="50" />
  21. Added to section <settings>:
        <!-- FEEDS ITEM EXPIRATION
             Items that are older than the speficied time interval (in days) will not be included in the feed.
             Default value: 0, expiration is disabled.
        -->
        <setting name="Feeds.ItemExpiration" value="0" />
  22. Added to section <settings>:
        <!-- MAXIMUM NUMBER OF ITEMS IN FEED
             The maximum number of items to include in the feed.
             Default value: 50
        -->
        <setting name="Feeds.MaximumItemsInFeed" value="50" />
  23. Added to section <settings>:
        <!-- ICONS CACHE FOLDER
             A relative path to the folder used for caching icons (only used when using icons stored in zip files).
             Notice that the setting must point to a folder below the webroot.
             Default value: /temp/IconCache
        -->
        <setting name="Icons.CacheFolder" value="/temp/IconCache" />
  24. Added to section <settings>:
        <!-- USE ZIPPED ICONS
             Indicates whether to use icons stored in zip files. If you set this to false, all icons
             must be available as physical files stored in folders below /sitecore/shell/Themes/Standard.
             Default value: true
        -->
        <setting name="Icons.UseZippedIcons" value="true" />
  25. Added to section <settings>:
        <!-- INDEX FOLDER
             The path to the folder where the Lucene.Net search indexes are stored
        -->
        <setting name="IndexFolder" value="$(dataFolder)/indexes" />
  26. Added to section <settings>:
        <!-- WORD FIELD INLINE EDITING WIDTH
             Defines width of a Word Field control that appears in the inline editing mode.
        -->
        <setting name="WordField.InlineEditing.Width" value="400px" />
  27. Added to section <settings>:
        <!-- WORD FIELD INLINE EDITING HEIGHT
             Defines height of a Word Field control that appears in the inline editing mode.
        -->
        <setting name="WordField.InlineEditing.Height" value="300px" />

Commands.config

Before you add the following commands, please check if they already exist in the file.

  1. Added to section <configuration>:
    <command name="item:setfeedpresentation" type="Sitecore.Shell.Applications.Feeds.Commands.SetFeedPresentation, Sitecore.Client" />
    <command name="item:subscribetofeed" type="Sitecore.Shell.Framework.Commands.SubscribetoFeed,Sitecore.Kernel" />
    <command name="webdav:compositeedit" type="Sitecore.Shell.Framework.Commands.WebDAV.CompositeEdit,Sitecore.Kernel" />
    <command name="webdav:edit" type="Sitecore.Shell.Framework.Commands.WebDAV.Edit,Sitecore.Kernel" />
    <command name="webdav:editmedia" type="Sitecore.Shell.Framework.Commands.WebDAV.EditMedia,Sitecore.Kernel" />
    <command name="webdav:editplayablemedia" type="Sitecore.Shell.Framework.Commands.WebDAV.EditPlayableMedia,Sitecore.Kernel" />
    <command name="webdav:openview" type="Sitecore.Shell.Framework.Commands.WebDAV.Open,Sitecore.Kernel" />
    <command name="webedit:editword" type="Sitecore.Shell.Applications.WebEdit.Commands.EditWord,Sitecore.Client" />
    <command name="webedit:wordinsertlink" type="Sitecore.Shell.Applications.WebEdit.Commands.EditWordInsertLink,Sitecore.Client" />
    <command name="webedit:wordinsertmedia" type="Sitecore.Shell.Applications.WebEdit.Commands.EditWordInsertMedia,Sitecore.Client" />

FieldTypes.config

Before you add the following field types, please check if they already exist in the file. 

  1. Added to section <configuration> near the simple types:
        <fieldType name="Word Document" type="Sitecore.Data.Fields.WordDocumentField,Sitecore.Kernel" blob="true" />
  2. Added to section <configuration> near the system types:
        <fieldType name="File Drop Area" type="Sitecore.Data.Fields.FileDropAreaField,Sitecore.Kernel" />